<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@ taglib prefix="sec" uri="http://www.springframework.org/security/tags"%>

<div class="ogmall_scheme">
        <div class="ogmall_title">
            <h1>设计方案<em></em></h1>
            <div class="ogmall_more"><a href="${ctx }/design/indexNew">更多</a></div>
        </div>
        
        <div class="blank10"></div><div class="blank10"></div><div class="blank10"></div>
        <div class="doubleSlideTab scrollLoading1">
        	<div class="tit">
                <h2>${community.name }</h2>
            </div>
            <div class="parHd">
                <ul>
                    <c:forEach items="${community.houseTypes}" var="ht">
                    <li>${ht.name }</li>
                    </c:forEach>
                </ul>
            </div>
            <div class="parBd">
                <div class="parBdIn">
                        <!-- 四室二厅 S -->
                        <c:forEach items="${community.houseTypes}" var="ht">
                        <div class="slideTab">
                            <div class="hd">
                                <ul>
                                	<c:forEach items="${ht.areaDesignList }" var="ad">
                                	<li>${ad.area }㎡</li>
                                	</c:forEach>
                                </ul>
                            </div>
                            <div class="bd">
                                <c:forEach items="${ht.areaDesignList }" var="ad">
                                <ul>
                                    <c:forEach items="${ad.designList }" var="d">
                                    <li onclick="location='${ctx }/design/detailNew?id=${d.id}'" >
                                        <div class="img"><img data-original="${d.headImage }"></div>
                                        <div class="b">
                                            <img src="${d.designer.user.headImage }">
                                            <span>${d.designer.user.realName }<em>${d.community.city.name } ${d.community.district.name } <%-- ${d.area }㎡ --%></em></span>
                                        </div>
                                    </li>
                                    </c:forEach>
                                </ul>
                                </c:forEach>
                            </div>
                        </div>
                        </c:forEach>
                </div>
            </div>
        </div>
        
    </div>